import { NavLink, Outlet } from "umi"
import styled from "styled-components"
const PersonalBox = styled.div`
display: flex;
    a{
        display: block;
        font-size: 35px;
        color: #000;
    text-decoration: none;
    }
    a.active{
        color:green;
    }
    
`

function Personal() {
    return <PersonalBox>
        <div>
            <nav>
                <NavLink to='/personal/info'>详情</NavLink>
                <NavLink to='/personal/order'>订单</NavLink>
            </nav>
        </div>
        <div>
            <Outlet />
        </div>
    </PersonalBox>
}
export default Personal